package com.xuanwu.mall.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * xuanwu-mall
 * com.xuanwu.mall.goods.entity
 *
 * @Description:
 * @Author：xuanwudeshuijngye_26567
 * @Date 2024-03-18 21:25
 * @Company: 旋舞科技有限公司
 **/
@Getter
@Setter
@TableName("pms_sku_info")
public class PmsSkuInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "sku_id", type = IdType.AUTO)
    /**
     * skuId
     *
     * */
    private Long skuId;
    /**
     * spuId
     *
     * */
    private Long spuId;
    /**
     * sku名称
     *
     * */
    private String skuName;
    /**
     * sku介绍描述
     *
     * */
    private String skuDesc;
    /**
     * 所属分类id
     *
     * */
    private Long catalogId;
    /**
     * 品牌id
     *
     * */
    private Long brandId;

    /**
     * 默认图片
     *
     * */
    private String skuDefaultImg;
    /**
     * 标题
     *
     * */
    private String skuTitle;

    /**
     * 副标题
     *
     * */
    private String skuSubtitle;
    /**
     * 价格
     *
     * */
    private BigDecimal price;
    /**
     * 销量
     *
     * */
    private Long saleCount;
    /**
     * 创建人id
     *
     * */
    private String creatorId;
    /**
     * 更新人id
     *
     * */
    private String updaterId;
    /**
     * 创建时间
     *
     * */
    private LocalDateTime createTime;
    /**
     * 更新时间
     *
     * */
    private LocalDateTime updateTime;
    /**
     * 删除标识：0-未删除 1-已删除
     *
     * */
    private String delFlag;
}
